package com.ellecity06.common.http.exception

/**
 * @author zavier
 * @time 2023/4/14 14:21
 * @des
 */
class HttpErrorException : RuntimeException {

    private var code: Int? = null

    constructor(throwable: Throwable, code: Int) : super(throwable) {
        this.code = code
    }

    constructor(message: String) : super(message)

    constructor(message: String, code: Int) : super(message) {
        this.code = code
    }
}